package com.meta.platform.login.plus.vcode.rest.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 验证码登录请求
 *
 * @author pengjianfeng
 * @version 1.0
 * @date 2021/1/11 6:29 下午
 */
@Data
@ApiModel("验证码登录")
public class VCodeLoginCmd {
    
    @ApiModelProperty("手机号码或邮箱，暂不支持邮箱登录")
    @NotBlank(message = "手机号码或邮箱不能为空")
    private String userName;
    
    @ApiModelProperty("验证码")
    @NotBlank(message = "验证码不能为空")
    private String vcode;
}
